// samsting : this file is auto create.

#include "Slb/2014-05-15/DescribeLoadBalancersResponse.h"

namespace aliyun { namespace Slb {

DescribeLoadBalancersResponse::DescribeLoadBalancersResponse() {
}

const string& DescribeLoadBalancersResponse::LoadBalancer::GetLoadBalancerId(void) const {
  return LoadBalancerId_;
}

const string& DescribeLoadBalancersResponse::LoadBalancer::GetLoadBalancerName(void) const {
  return LoadBalancerName_;
}

const string& DescribeLoadBalancersResponse::LoadBalancer::GetLoadBalancerStatus(void) const {
  return LoadBalancerStatus_;
}

const string& DescribeLoadBalancersResponse::LoadBalancer::GetAddress(void) const {
  return Address_;
}

const string& DescribeLoadBalancersResponse::LoadBalancer::GetAddressType(void) const {
  return AddressType_;
}

const string& DescribeLoadBalancersResponse::LoadBalancer::GetRegionId(void) const {
  return RegionId_;
}

const string& DescribeLoadBalancersResponse::LoadBalancer::GetRegionIdAlias(void) const {
  return RegionIdAlias_;
}

const string& DescribeLoadBalancersResponse::LoadBalancer::GetVSwitchId(void) const {
  return VSwitchId_;
}

const string& DescribeLoadBalancersResponse::LoadBalancer::GetVpcId(void) const {
  return VpcId_;
}

const string& DescribeLoadBalancersResponse::LoadBalancer::GetNetworkType(void) const {
  return NetworkType_;
}

const string& DescribeLoadBalancersResponse::LoadBalancer::GetMasterZoneId(void) const {
  return MasterZoneId_;
}

const string& DescribeLoadBalancersResponse::LoadBalancer::GetSlaveZoneId(void) const {
  return SlaveZoneId_;
}

int DescribeLoadBalancersResponse::LoadBalancer::GetMaxConnLimit(void) const {
  return MaxConnLimit_;
}

const string& DescribeLoadBalancersResponse::LoadBalancer::GetSecurityStatus(void) const {
  return SecurityStatus_;
}

const string& DescribeLoadBalancersResponse::LoadBalancer::GetInternetChargeType(void) const {
  return InternetChargeType_;
}

int DescribeLoadBalancersResponse::LoadBalancer::GetSysBandwidth(void) const {
  return SysBandwidth_;
}

const std::vector<DescribeLoadBalancersResponse::LoadBalancer>& DescribeLoadBalancersResponse::GetLoadBalancers(void) const {
  return LoadBalancers_;
}

const char* DescribeLoadBalancersResponse::BaseKey(void) {
  return "DescribeLoadBalancersResponse";
}

void DescribeLoadBalancersResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int LoadBalancers__length = 0;
  UnmarshallerInt(LoadBalancers__length, response_map, "DescribeLoadBalancersResponse.LoadBalancers.Length");
  if(LoadBalancers__length >= 0) {
    LoadBalancers_.resize(LoadBalancers__length);
    for(int i1 = 0; i1 < LoadBalancers__length; i1++) {
      UnmarshallerString(LoadBalancers_[i1].LoadBalancerId_, response_map, "DescribeLoadBalancersResponse.LoadBalancers["+string_ValueOfInt(i1)+"].LoadBalancerId");
      UnmarshallerString(LoadBalancers_[i1].LoadBalancerName_, response_map, "DescribeLoadBalancersResponse.LoadBalancers["+string_ValueOfInt(i1)+"].LoadBalancerName");
      UnmarshallerString(LoadBalancers_[i1].LoadBalancerStatus_, response_map, "DescribeLoadBalancersResponse.LoadBalancers["+string_ValueOfInt(i1)+"].LoadBalancerStatus");
      UnmarshallerString(LoadBalancers_[i1].Address_, response_map, "DescribeLoadBalancersResponse.LoadBalancers["+string_ValueOfInt(i1)+"].Address");
      UnmarshallerString(LoadBalancers_[i1].AddressType_, response_map, "DescribeLoadBalancersResponse.LoadBalancers["+string_ValueOfInt(i1)+"].AddressType");
      UnmarshallerString(LoadBalancers_[i1].RegionId_, response_map, "DescribeLoadBalancersResponse.LoadBalancers["+string_ValueOfInt(i1)+"].RegionId");
      UnmarshallerString(LoadBalancers_[i1].RegionIdAlias_, response_map, "DescribeLoadBalancersResponse.LoadBalancers["+string_ValueOfInt(i1)+"].RegionIdAlias");
      UnmarshallerString(LoadBalancers_[i1].VSwitchId_, response_map, "DescribeLoadBalancersResponse.LoadBalancers["+string_ValueOfInt(i1)+"].VSwitchId");
      UnmarshallerString(LoadBalancers_[i1].VpcId_, response_map, "DescribeLoadBalancersResponse.LoadBalancers["+string_ValueOfInt(i1)+"].VpcId");
      UnmarshallerString(LoadBalancers_[i1].NetworkType_, response_map, "DescribeLoadBalancersResponse.LoadBalancers["+string_ValueOfInt(i1)+"].NetworkType");
      UnmarshallerString(LoadBalancers_[i1].MasterZoneId_, response_map, "DescribeLoadBalancersResponse.LoadBalancers["+string_ValueOfInt(i1)+"].MasterZoneId");
      UnmarshallerString(LoadBalancers_[i1].SlaveZoneId_, response_map, "DescribeLoadBalancersResponse.LoadBalancers["+string_ValueOfInt(i1)+"].SlaveZoneId");
      UnmarshallerInt(LoadBalancers_[i1].MaxConnLimit_, response_map, "DescribeLoadBalancersResponse.LoadBalancers["+string_ValueOfInt(i1)+"].MaxConnLimit");
      UnmarshallerString(LoadBalancers_[i1].SecurityStatus_, response_map, "DescribeLoadBalancersResponse.LoadBalancers["+string_ValueOfInt(i1)+"].SecurityStatus");
      UnmarshallerString(LoadBalancers_[i1].InternetChargeType_, response_map, "DescribeLoadBalancersResponse.LoadBalancers["+string_ValueOfInt(i1)+"].InternetChargeType");
      UnmarshallerInt(LoadBalancers_[i1].SysBandwidth_, response_map, "DescribeLoadBalancersResponse.LoadBalancers["+string_ValueOfInt(i1)+"].SysBandwidth");
    } // for(int i1 = 0; i1 < LoadBalancers__length; i1++) {
  } // if(LoadBalancers__length >= 0) {

}


} } // namespace aliyun { namespace Slb {

// end of file 
